crypto/internal/fips140/sha3.SHAKE.initBlock (field)
16 uses
crypto/internal/fips140/sha3 (current package)
shake.go#L23: initBlock []byte
shake.go#L52: c.initBlock = make([]byte, 0, 9+len(N)+9+len(S)) // leftEncode returns max 9 bytes
shake.go#L53: c.initBlock = append(c.initBlock, leftEncode(uint64(len(N))*8)...)
shake.go#L54: c.initBlock = append(c.initBlock, N...)
shake.go#L55: c.initBlock = append(c.initBlock, leftEncode(uint64(len(S))*8)...)
shake.go#L56: c.initBlock = append(c.initBlock, S...)
shake.go#L57: bytepadWrite(c, c.initBlock, c.d.rate)
shake.go#L84: if len(s.initBlock) != 0 {
shake.go#L85: bytepadWrite(s, s.initBlock, s.d.rate)
shake.go#L96: return s.AppendBinary(make([]byte, 0, marshaledSize+len(s.initBlock)))
shake.go#L104: b = append(b, s.initBlock...)
shake.go#L115: s.initBlock = bytes.Clone(b[marshaledSize:])
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |